<%@ page import="com.apexedu.portal.constant.Constants" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="java.util.*"%>
<%@ page import="com.apexedu.sys.entity.TSysReportfactory" %>
<%
  String path = request.getContextPath();
  String basePath = request.getScheme() + "://"
          + request.getServerName() + ":" + request.getServerPort()
          + path + "/";
  request.setAttribute("basePath", basePath);
  String menuid = (String)request.getAttribute("menuid");
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
  <title><%=Constants.ProjectInfo.PROJECT_NAME%>
  </title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <link href="${basePath}/component/amazeUI-2.4.2/css/amazeui.min.css" rel="stylesheet">
  <script type="text/javascript" src="${basePath}/resources/ui/js/jquery-1.10.2.min.js"></script>
  <script src="${basePath}/resources/js/mh.shd.index.js" type="text/javascript"></script>
</head>
<title>展示报表选择</title>
</head>
<style type="text/css">
  .ver01 {
    vertical-align: middle;
  }
  .ali01 {
    text-align: center;
  }
  .navIcon {
    cursor: pointer;
    padding: 15px 0;
    width: 410px;
  }
  .navIcon_left {
    float: left;
    width: 173px;
    padding: 0 0 0 8px;
  }
  .navIcon_right {
    float: left;
    line-height: 220%;
    padding: 0 0 0 8px;
    width: 180px;
  }
  .navIcon img {
    height: 130px;
    width: 173px;
  }
  img {
    border: 0 none;
  }

  .navIcon_right_title {
    color: #0460B7;
    font-weight: bold;
    width: 220px;
  }
  .navIcon_right_con {
    width: 220px;
  }
  #page-wrap {
    width: 600px;
    margin: 15px auto;
    position: relative;
  }

  #sidebar {
    width: 190px;
    position: fixed;
    margin-left: 410px;
  }

</style>
<script>
  /*
   添加报表
   */
  function add(id){
    $('#choosewid').val(id);
  }
</script>

<div>
  <form class="am-form">
    <c:forEach items="${pros}" var="p" varStatus="st">
      <div class="am-form-group" style="margin-left: 20px;margin-top: 15px;">
           <h3 class="am-comment-title">${p.pproblem}</h3>
      </div>
      <div class="am-comment-bd" style="margin-left: 20px;margin-top: 15px;">${p.pcontent}</div>
      <c:forEach items="${p.anspros}" var="answer">
        <article class="am-comment" style="margin-top: 15px;width: 500px;"> <!-- 评论容器 -->
          <div class="am-comment-main"> <!-- 评论内容容器 -->
            <header class="am-comment-hd">
              <div class="am-comment-meta"> <!-- 评论元数据 -->
                <a href="#link-to-user" class="am-comment-author">${answer.puser}</a> <!-- 评论者 -->
                回复于 <time datetime="">${answer.ptime}</time>
              </div>
            </header>
            <div class="am-comment-bd" style="width: 450px;">${answer.pcontent}</div> <!-- 评论内容 -->
          </div>
        </article>
      </c:forEach>
    </c:forEach>
  </form>
  </div>
</body>
</html>
